package com.hishop.product.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hishop.product.entity.BrandEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 品牌
 * 
 * @author tanwenbin
 * @email 2466082499@qq.com
 * @date 2024-03-13 09:24:45
 */
@Mapper
public interface BrandDao extends BaseMapper<BrandEntity> {

    /**
     * 模糊查询
     * @param key
     * @return
     */
    List<BrandEntity> selectByNameOrId(@Param("key")String key);
}
